﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        hideInPanelTab: true,
        name: 'login',
        path: '/user/login',
        component: './user/Login',
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/welcome',
    name: 'welcome',
    icon: 'dashboard',
    component: './Welcome',
  },
  {
    path: '/license',
    name: 'license',
    icon: 'CodeSandbox',
    hideInMenu: true,
    access: 'normalRouteFilter',
    routes: [
      {
        path: '/license',
        redirect: '/license/baseInfo',
      },

      // {
      //   path: '/license/baseInfo',
      //   name: 'licenseInfo',
      //   icon: 'smile',
      //   component: './sales/license',
      // },

      {
        access: 'normalRouteFilter',
        path: '/license/licenseInfoCus',
        name: 'licenseInfoCus',
        icon: 'smile',
        component: './sales/licenseInfo',
      },

      {
        access: 'normalRouteFilter',
        path: '/license/manage',
        name: 'licenseManage',
        icon: 'smile',
        component: './sales/licenseAdm',
      },
      {
        access: 'normalRouteFilter',
        path: '/license/licenseCustom',
        name: 'licenseCustom',
        icon: 'smile',
        component: './sales/licenseCustom',
      },
      {
        access: 'normalRouteFilter',
        path: '/license/licenseOrder',
        name: 'licenseOrder',
        icon: 'smile',
        component: './sales/licenseOrder',
      },
      {
        access: 'normalRouteFilter',
        path: '/license/licenseTree',
        name: 'licenseTree',
        icon: 'smile',
        component: './sales/licenseTree',
      },

      {
        access: 'normalRouteFilter',
        path: '/license/detail',
        name: 'licensedetail',
        icon: 'smile',
        hideInMenu: true,
        component: './sales/licenseDetail',
      },
    ],
  },
  {
    path: '/sales',
    name: 'sales',
    icon: 'AccountBookFilled',
    hideInMenu: true,
    access: 'normalRouteFilter',
    routes: [
      {
        path: '/sales',
        redirect: '/sales/salesNeedInfo',
      },
      // {
      //   path: '/sales/salesNeedInfo',
      //   name: 'salesNeedInfo',
      //   icon: 'smile',
      //   component: './sales/salesNeedInfo',
      // },
      // {
      //   path: '/sales/salesNeedInfoEnginner',
      //   name: 'salesNeedInfoEnginner',
      //   icon: 'smile',
      //   component: './sales/salesNeedInfoEnginner',
      // },
      {
        access: 'normalRouteFilter',
        path: '/sales/salesNeedInfoCustomer',
        name: 'salesNeedInfoCustomer',
        icon: 'smile',
        component: './sales/salesNeedInfoCustomer',
      },
      {
        access: 'normalRouteFilter',
        path: '/sales/salesNeedInfoDetail',
        name: 'salesNeedInfoDetail',
        icon: 'smile',
        component: './sales/salesNeedInfoDetail',
      },
      {
        access: 'normalRouteFilter',
        path: '/sales/technicalSupport',
        name: 'technicalSupport',
        icon: 'smile',
        component: './sales/technicalSupport',
      },
      {
        access: 'normalRouteFilter',
        path: '/sales/technicalSupportDetail',
        name: 'technicalSupportDetail',
        icon: 'smile',
        component: './sales/technicalSupportDetail',
      },
    ],
  },
  {
    path: '/engineer',
    name: 'engineer',
    icon: 'smile',
    hideInMenu: true,
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/engineer/onsiteSupport',
        name: 'onsiteSupport',
        icon: 'smile',
        component: './sales/onsiteSupport',
      },
      {
        access: 'normalRouteFilter',
        path: '/engineer/onsiteSupportDetail',
        name: 'onsiteSupportDetail',
        icon: 'smile',
        component: './sales/onsiteSupportDetail',
      },
    ],
  },

  //驱动参数库
  {
    path: '/drivepara',
    name: 'paralist',
    icon: 'DeploymentUnit',
    hideInMenu: true,
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/drivepara/driveparalib',
        name: 'driveparalib',
        icon: 'smile',
        component: './drivepara/driveparalib',
      },

      {
        access: 'normalRouteFilter',
        path: '/drivepara/driveparacalculate copy',
        name: 'driveparacalculate',
        icon: 'smile',
        component: './drivepara/driveparacalculate copy',
      },

      {
        access: 'normalRouteFilter',
        path: '/drivepara/MRPmodule copy',
        name: 'MRPmodule',
        icon: 'smile',
        component: './drivepara/MRPmodule copy',
      },

      // {
      //   path: '/drivepara/v90motor',
      //   name: 'v90motor',
      //   icon: 'smile',
      //   component: './drivepara/v90motor',
      // },
      // {
      //   path: '/drivepara/s210motor',
      //   name: 's210motor',
      //   icon: 'smile',
      //   component: './drivepara/s210motor',
      // },
    ],
  },
  {
    path: '/platform',
    name: 'platform',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/platform/errorReport',
        name: 'errorReport',
        icon: 'smile',
        refresh: true,
        component: './platform/errorReport',
      },
      {
        access: 'normalRouteFilter',
        path: '/platform/errorReportFileInfo',
        name: 'errorReportFileInfo',
        icon: 'smile',
        refresh: true,
        hideInMenu: true,
        component: './platform/errorReportFileInfo',
      },
      /*       工时审核
      {
        path: '/platform/workHoursRequestHst',
        name: 'workHoursRequestHst',
        icon: 'smile',
        refresh: true,
        component: './platform/workHoursRequestHst',
      }, */
      {
        access: 'normalRouteFilter',
        path: '/platform/change',
        name: 'change',
        icon: 'smile',
        refresh: true,
        component: './platform/change',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/platform/message',
        name: 'message',
        icon: 'smile',
        refresh: true,
        component: './platform/message',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/platform/notifyTemplateInfo',
        name: 'notifyTemplateInfo',
        icon: 'smile',
        refresh: true,
        component: './platform/notifyTemplateInfo',
      },
    ],
  },
  {
    path: '/project',
    name: 'project',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/project/info',
        name: 'info',
        icon: 'smile',
        refresh: true,
        component: './project/info',
      },
      // {
      //   access: 'normalRouteFilter',
      //   path: '/project/masterPlan',
      //   name: 'masterPlan',
      //   icon: 'smile',
      //   refresh: true,
      //   component: './project/masterPlan',
      // },
      //项目总览
      {
        access: 'normalRouteFilter',
        path: '/project/projectOverview',
        name: 'projectOverview',
        icon: 'smile',
        refresh: true,
        component: './project/projectOverview',
        // hideInMenu: true,
      },
      // {
      //   path: '/project/projectProgress',
      //   name: 'projectProgress',
      //   icon: 'smile',
      //   refresh: true,
      //   component: './project/projectProgress',
      //   hideInMenu: true,
      // },
      //附件总览
      {
        access: 'normalRouteFilter',
        path: '/project/fileInfo',
        name: 'fileInfo',
        icon: 'smile',
        refresh: true,
        component: './project/fileInfo',
      },
      //变更管理
      // {
      //   path: '/project/change',
      //   name: 'change',
      //   icon: 'smile',
      //   refresh: true,
      //   component: './project/change',
      // },
      //批次计划
      {
        // access: 'normalRouteFilter',
        path: '/project/batchPlan',
        name: 'batchPlan',
        icon: 'smile',
        refresh: true,
        component: './project/batchPlan',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/project/productTotalInfo',
        name: 'productTotalInfo',
        icon: 'smile',
        refresh: true,
        component: './project/productTotalInfo',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/project/produceInfo',
        name: 'produceInfo',
        icon: 'smile',
        refresh: true,
        component: './project/produceInfo',
        hideInMenu: true,
      },
      /*       { //项目进度
        path: '/project/projectProgress',
        name: 'projectProgress',
        icon: 'smile',
        refresh: true,
        component: './project/projectProgress',
      }, */
      //异常处理
      // {
      //   path: '/project/errorReport',
      //   name: 'errorReport',
      //   icon: 'smile',
      //   refresh: true,
      //   component: './project/errorReport',
      // },
    ],
  },
  {
    path: '/design',
    name: 'design',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/design/standProduct',
        name: 'standProduct',
        icon: 'smile',
        refresh: true,
        component: './design/standProduct',
      },
      //标准柜体bom和图纸上传总和页面
      {
        path: '/design/standProductFileInfo',
        name: 'standProductFileInfo',
        icon: 'smile',
        refresh: true,
        hideInMenu: true,
        component: './design/standProductFileInfo',
      },
      {
        access: 'normalRouteFilter',
        path: '/design/standFileInfoBOM',
        name: 'standFileInfoBOM',
        icon: 'smile',
        refresh: true,
        component: './design/standFileInfoBOM',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/design/standFileInfodrawing',
        name: 'standFileInfodrawing',
        icon: 'smile',
        refresh: true,
        component: './design/standFileInfodrawing',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/design/productDesign',
        name: 'productDesign',
        icon: 'smile',
        refresh: true,
        component: './design/productDesign',
        // hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/design/productDrawingInfo',
        name: 'productDrawingInfo',
        icon: 'smile',
        refresh: true,
        component: './design/productDrawingInfo',
        hideInMenu: true,
      },
      {
        path: '/design/productNosubmittedDrawingInfo',
        name: 'productNosubmittedDrawingInfo',
        icon: 'smile',
        refresh: true,
        component: './design/productNosubmittedDrawingInfo',
        hideInMenu: true,
      },
      {
        // access: 'normalRouteFilter',
        path: '/design/productBomOverview',
        name: 'productBomOverview',
        icon: 'smile',
        refresh: true,
        component: './design/productBomOverview',
        hideInMenu: true,
      },
      {
        // access: 'normalRouteFilter',
        path: '/design/productNosubmittedBomOverview',
        name: 'productNosubmittedBomOverview',
        icon: 'smile',
        refresh: true,
        component: './design/productNosubmittedBomOverview',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/design/fileInfo',
        name: 'fileInfo',
        icon: 'smile',
        refresh: true,
        component: './design/fileInfo',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/design/standProductProcessInfo',
        name: 'standProductProcessInfo',
        icon: 'smile',
        refresh: true,
        component: './design/standProductProcessInfo',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/design/bomReview',
        name: 'bomReview',
        icon: 'smile',
        refresh: true,
        component: './design/bomReview',
      },
      {
        access: 'normalRouteFilter',
        path: '/design/drawingReview',
        name: 'drawingReview',
        icon: 'smile',
        refresh: true,
        component: './design/drawingReview',
      },
      {
        access: 'normalRouteFilter',
        path: '/design/standProductBomDesign',
        name: 'standProductBomDesign',
        icon: 'smile',
        component: './design/standProductBomDesign',
        hideInMenu: true,
      },
    ],
  },
  {
    path: '/product',
    name: 'product',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/product/productManufactInfor',
        name: 'productManufactInfor',
        icon: 'smile',
        refresh: true,
        component: './product/productManufactInfor',
      },
      {
        access: 'normalRouteFilter',
        path: '/product/workOrderInfor',
        name: 'workOrderInfor',
        icon: 'smile',
        refresh: true,
        component: './product/workOrderInfor',
      },
      {
        access: 'normalRouteFilter',
        path: '/product/pickingReceive',
        name: 'pickingReceive',
        icon: 'smile',
        refresh: true,
        component: './product/pickingReceive',
      },
      {
        access: 'normalRouteFilter',
        path: '/product/productManufactInforExecute',
        name: 'productManufactInforExecute',
        icon: 'smile',
        refresh: true,
        component: './product/productManufactInforExecute',
      },
      {
        access: 'normalRouteFilter',
        path: '/product/plantCapacityCalendar',
        name: 'plantCapacityCalendar',
        icon: 'smile',
        refresh: true,
        component: './product/plantCapacityCalendar',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/product/workHoursRequestHst',
        name: 'workHoursRequestHst',
        icon: 'smile',
        refresh: true,
        component: './product/workHoursRequestHst',
      },
      /*       {
        path: '/product/guideBookFileInfo',
        name: 'guideBookFileInfo',
        icon: 'smile',
        refresh: true,
        component: './product/guideBookFileInfo',
      }, */
      //工时审批
      // {
      //   path: '/product/workHoursRequestHst',
      //   name: 'workHoursRequestHst',
      //   icon: 'smile',
      //   refresh: true,
      //   component: './product/workHoursRequestHst',
      // },
      {
        access: 'normalRouteFilter',
        path: '/product/errorType',
        name: 'errorType',
        icon: 'smile',
        refresh: true,
        component: './product/errorType',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/product/errorPriority',
        name: 'errorPriority',
        icon: 'smile',
        refresh: true,
        component: './product/errorPriority',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/product/pickingTask',
        name: 'pickingTask',
        icon: 'smile',
        refresh: true,
        component: './product/pickingTask',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/product/pickingDetails',
        name: 'pickingDetails',
        icon: 'smile',
        refresh: true,
        component: './product/pickingDetails',
        hideInMenu: true,
      },
      //产能维护 -> 产能信息
      {
        access: 'normalRouteFilter',
        path: '/product/plantCapacityBase',
        name: 'plantCapacityBase',
        icon: 'smile',
        refresh: true,
        component: './baseData/plantCapacityBase',
      },
    ],
  },
  {
    path: '/material',
    name: 'material',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/material/pickingTask',
        name: 'pickingTask',
        icon: 'smile',
        refresh: true,
        component: './product/pickingTask',
      },
      {
        access: 'normalRouteFilter',
        path: '/material/materialShortage',
        name: 'materialShortage',
        icon: 'smile',
        refresh: true,
        component: './material/materialShortage',
      },
      {
        access: 'normalRouteFilter',
        path: '/material/workOrderInfor',
        name: 'workOrderInfor',
        icon: 'smile',
        refresh: true,
        component: './material/workOrderInfor',
      },
      {
        access: 'normalRouteFilter',
        path: '/material/purchaseOrder',
        name: 'purchaseOrder',
        icon: 'smile',
        refresh: true,
        component: './product/purchaseOrder',
      },
    ],
  },
  {
    path: '/quality',
    name: 'quality',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/quality/productQuality',
        name: 'productQuality',
        icon: 'smile',
        refresh: true,
        component: './quality/productQuality',
      },
      {
        // access: 'normalRouteFilter',
        path: '/quality/cabinetQuality',
        name: 'cabinetQuality',
        refresh: true,
        icon: 'smile',
        component: './quality/cabinetQuality',
      },
      {
        access: 'normalRouteFilter',
        path: '/quality/inspectionTask',
        name: 'inspectionTask',
        icon: 'smile',
        component: './quality/inspectionTask',
      },
      {
        access: 'normalRouteFilter',
        path: '/quality/customComplaint',
        name: 'customComplaint',
        icon: 'smile',
        refresh: true,
        component: './quality/customComplaint',
      },
      {
        access: 'normalRouteFilter',
        path: '/quality/complaintDetails',
        hideInMenu: true,
        refresh: true,
        name: 'complaintDetails',
        icon: 'smile',
        component: './quality/complaintDetails',
      },
      /*       {
        path: '/quality/inspectionTemplate',
        name: 'inspectionTemplate',
        refresh: true,
        icon: 'smile',
        component: './quality/inspectionTemplate',
      }, */
      {
        access: 'normalRouteFilter',
        path: '/quality/inspectionTemplateMasterItem',
        name: 'inspectionTemplateMasterItem',
        icon: 'smile',
        refresh: true,
        component: './quality/inspectionTemplateMasterItem',
        hideInMenu: true,
      },
      {
        access: 'normalRouteFilter',
        path: '/quality/templateInspectionItem',
        name: 'templateInspectionItem',
        icon: 'smile',
        refresh: true,
        component: './quality/templateInspectionItem',
        hideInMenu: true,
      },
    ],
  },
  {
    path: '/device',
    name: 'device',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      //设备台账
      {
        access: 'normalRouteFilter',
        path: '/device/deInfo',
        name: 'deInfo',
        icon: 'smile',
        component: './device/deInfo',
      },
      //工具台账
      {
        access: 'normalRouteFilter',
        path: '/device/toolInfo',
        name: 'toolInfo',
        icon: 'smile',
        component: './device/toolInfo',
      },
      //备品备件
      {
        access: 'normalRouteFilter',
        path: '/device/spareInfo',
        name: 'spareInfo',
        icon: 'smile',
        component: './device/spareInfo',
      },
      //巡检计划
      {
        access: 'normalRouteFilter',
        path: '/device/inspectPlan',
        name: 'inspectPlan',
        icon: 'smile',
        component: './device/inspectPlan',
      },
      //巡检任务
      {
        access: 'normalRouteFilter',
        path: '/device/inspectTask',
        name: 'inspectTask',
        icon: 'smile',
        component: './device/inspectTask',
      },
      //维护任务
      {
        access: 'normalRouteFilter',
        path: '/device/maintenanceInfo',
        name: 'maintenanceInfo',
        icon: 'smile',
        component: './device/maintenanceInfo',
      },
      //EHS巡检
      {
        access: 'normalRouteFilter',
        path: '/device/EHSInfo',
        name: 'EHSInfo',
        icon: 'smile',
        component: './device/EHSInfo',
      },
      //设备信息
      {
        access: 'normalRouteFilter',
        path: '/device/deviceInfo',
        name: 'deviceInfo',
        icon: 'smile',
        component: './device/deviceInfo',
      },
      //设备登记信息
      {
        access: 'normalRouteFilter',
        path: '/device/deviceInfoDetail',
        name: 'deviceInfoDetail',
        icon: 'smile',
        component: './device/deviceInfoDetail',
      },
      //巡检计划模板子项
      {
        access: 'normalRouteFilter',
        path: '/device/inspectStandard',
        name: 'inspectStandard',
        icon: 'smile',
        component: './device/inspectStandard',
      },
      {
        access: 'normalRouteFilter',
        path: '/device/inspectStandardSearch',
        name: 'inspectStandardSearch',
        icon: 'smile',
        component: './device/inspectStandardSearch',
      },
      //水电气能效
      {
        access: 'normalRouteFilter',
        path: '/device/energyInfo',
        name: 'energyInfo',
        icon: 'smile',
        component: './device/energyInfo',
      },
      //水电气能效看板
      {
        access: 'normalRouteFilter',
        path: '/device/energyEfficiencyBoard',
        name: 'energyEfficiencyBoard',
        icon: 'smile',
        component: './device/energyEfficiencyBoard',
      },
    ],
  },
  // 看板board
  {
    path: '/board',
    name: 'board',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      {
        access: 'normalRouteFilter',
        path: '/board/projectboard',
        name: 'projectboard',
        icon: 'smile',
        refresh: true,
        component: './board/projectboard',
      },
      {
        access: 'normalRouteFilter',
        path: '/board/productboard',
        name: 'productboard',
        icon: 'smile',
        refresh: true,
        component: './board/productboard',
      },
      {
        access: 'normalRouteFilter',
        path: '/board/reportForm',
        name: 'reportForm',
        icon: 'smile',
        refresh: true,
        component: './board/reportForm',
      },
    ],
  },
  {
    path: '/basicData',
    name: 'basicData',
    icon: 'RadarChart',
    access: 'normalRouteFilter',
    routes: [
      //物料主数据
      {
        access: 'normalRouteFilter',
        path: '/basicData/materialInfo',
        name: 'materialInfo',
        icon: 'smile',
        refresh: true,
        component: './baseData/materialInfo',
      },
      //工厂定义
      {
        access: 'normalRouteFilter',
        path: '/basicData/plant',
        name: 'plant',
        icon: 'smile',
        refresh: true,
        component: './baseData/plant',
      },
      {
        access: 'normalRouteFilter',
        path: '/basicData/supplier',
        name: 'supplier',
        icon: 'smile',
        refresh: true,
        component: './baseData/supplier',
      },
      {
        access: 'normalRouteFilter',
        path: '/basicData/customer',
        name: 'customer',
        icon: 'smile',
        refresh: true,
        component: './baseData/customer',
      },
      //工序定义
      {
        access: 'normalRouteFilter',
        path: '/basicData/process',
        name: 'process',
        icon: 'smile',
        refresh: true,
        component: './baseData/process',
      },
      //工艺路径
      {
        access: 'normalRouteFilter',
        path: '/basicData/bopTotal',
        name: 'bopTotal',
        icon: 'smile',
        refresh: true,
        component: './baseData/bopTotal',
      },

      //团队定义
      {
        access: 'normalRouteFilter',
        path: '/basicData/team',
        name: 'team',
        icon: 'smile',
        component: './baseData/team',
      },
      {
        path: '/basicData/templateMaintain',
        name: 'templateMaintain',
        icon: 'RadarChart',
        access: 'normalRouteFilter',
        routes: [
          //检验模板
          {
            // access: 'normalRouteFilter',
            path: '/basicData/templateMaintain/inspectionTemplate',
            name: 'inspectionTemplate',
            refresh: true,
            icon: 'smile',
            component: './templateMaintain/inspectionTemplate',
          },
          //巡检模板
          {
            // access: 'normalRouteFilter',
            path: '/basicData/templateMaintain/inspectStandardCategory',
            name: 'inspectStandardCategory',
            icon: 'smile',
            refresh: true,
            component: './templateMaintain/inspectStandardCategory',
          },
          //EHS模板
          {
            // access: 'normalRouteFilter',
            path: '/basicData/templateMaintain/ehsStandard',
            name: 'ehsStandard',
            icon: 'smile',
            refresh: true,
            component: './templateMaintain/ehsStandard',
          },
        ],
      },
      // {
      //   path: '/basicData/warehouse',
      //   name: 'warehouse',
      //   icon: 'smile',
      //   refresh: true,
      //   component: './baseData/warehouse',
      // },

      // {
      //   path: '/basicData/bopInfo',
      //   name: 'bopInfo',
      //   icon: 'smile',
      //   refresh: true,
      //   component: './baseData/bopInfo',
      //   hideInMenu: true,
      // },
      // {
      //   path: '/basicData/serialNumber',
      //   name: 'serialNumber',
      //   icon: 'smile',
      //   component: './baseData/serialNumber',
      // },
      // {
      //   path: '/basicData/serialNumberItem',
      //   name: 'serialNumberItem',
      //   icon: 'smile',
      //   hideInMenu: true,
      //   component: './baseData/serialNumberItem',
      // },
    ],
  },
  {
    path: '/systemSetting',
    name: 'systemSetting',
    icon: 'windows',
    access: 'normalRouteFilter',
    routes: [
      //用户管理
      {
        refresh: true,
        path: '/systemSetting/user',
        access: 'canAdmin',
        name: 'user',
        icon: 'smile',
        component: './system/user',
      },
      //角色管理
      {
        refresh: true,
        path: '/systemSetting/role',
        access: 'canAdmin',
        name: 'role',
        icon: 'smile',
        component: './system/role',
      },
      //部门管理
      {
        refresh: true,
        path: '/systemSetting/organization',
        access: 'canAdmin',
        name: 'organization',
        icon: 'smile',
        component: './system/organization',
      },
      //权限管理
      {
        refresh: true,
        path: '/systemSetting/menu',
        access: 'canAdmin',
        name: 'menu',
        icon: 'smile',
        component: './system/menu',
      },
      //单据编号
      {
        access: 'normalRouteFilter',
        refresh: true,
        path: '/systemSetting/serialNumber',
        name: 'serialNumber',
        icon: 'smile',
        component: './system/serialNumber',
      },
      //流水码规则
      {
        access: 'normalRouteFilter',
        refresh: true,
        path: '/systemSetting/serialNumberItem',
        name: 'serialNumberItem',
        icon: 'smile',
        hideInMenu: true,
        component: './system/serialNumberItem',
      },
      //字典维护
      {
        access: 'normalRouteFilter',
        refresh: true,
        path: '/systemSetting/dictType',
        name: 'dictType',
        icon: 'smile',
        component: './system/dictType',
      },

      {
        // access: 'normalRouteFilter',
        refresh: true,
        path: '/systemSetting/dictData',
        name: 'dictData',
        icon: 'smile',
        hideInMenu: true,
        component: './system/dictData',
      },
      //工厂日历
      {
        access: 'normalRouteFilter',
        refresh: true,
        path: '/systemSetting/factoryCalendar',
        name: 'factoryCalendar',
        icon: 'smile',
        component: './system/factoryCalendar',
      },
      //操作日志
      {
        access: 'normalRouteFilter',
        path: '/systemSetting/operatorLog',
        name: 'operatorLog',
        icon: 'smile',
        component: './system/log',
      },
      //日历管理
      {
        access: 'normalRouteFilter',
        refresh: true,
        path: '/systemSetting/calendar',
        name: 'calendar',
        icon: 'smile',
        component: './system/calendar',
        hideInMenu: true,
      },
      //代码生成
      {
        // access: 'normalRouteFilter',
        path: '/systemSetting/codeUtil',
        name: 'codeUtil',
        icon: 'smile',
        component: './systemUtil/codeUtil',
        // hideInMenu: true,
      },
      {
        // access: 'normalRouteFilter',
        path: '/systemSetting/teamInfo',
        name: 'teamInfo',
        icon: 'smile',
        component: './system/teamInfo',
        hideInMenu: true,
      },
      // {
      //   path: '/systemSetting/system',
      //   name: 'system',
      //   icon: 'windows',
      //   hideInMenu: true,
      //   routes: [
      //     {
      //       refresh: true,
      //       path: '/systemSetting/system/dictData',
      //       name: 'dictData',
      //       icon: 'smile',
      //       hideInMenu: true,
      //       component: './system/dictData',
      //     },
      //   ],
      // },
      //     {
      //       refresh: true,
      //       path: '/systemSetting/system/serialNumberItem',
      //       name: 'serialNumberItem',
      //       icon: 'smile',
      //       hideInMenu: true,
      //       component: './system/serialNumberItem',
      //     },
      //     // {
      //     //   path: '/system/dictionary',
      //     //   name: 'dictionary',
      //     //   icon: 'smile',
      //     //   component: './system/dictionary',
      //     // },
      //     {
      //       refresh: true,
      //       path: '/systemSetting/system/fileData',
      //       name: 'fileData',
      //       icon: 'smile',
      //       component: './system/fileData',
      //     },

      //     {
      //       refresh: true,
      //       path: '/systemSetting/system/factoryCalendarItem',
      //       name: 'factoryCalendarItem',
      //       icon: 'smile',
      //       hideInMenu: true,
      //       component: './system/factoryCalendarItem',
      //     },
      //     {
      //       refresh: true,
      //       path: '/systemSetting/system/workstation',
      //       name: 'workstation',
      //       icon: 'smile',
      //       component: './baseData/workstation',
      //     },
      //   ],
      // },
      {
        path: '/systemSetting/systemUtil',
        name: 'systemUtil',
        icon: 'windows',
        hideInMenu: true,
        // access: 'canAdmin',
        routes: [
          {
            refresh: true,
            path: '/systemSetting/systemUtil/printDesign',
            name: 'printDesign',
            icon: 'smile',
            component: './systemUtil/printDesignFile',
          },
          {
            refresh: true,
            path: '/systemSetting/systemUtil/printDesignItem',
            name: 'printDesignItem',
            icon: 'smile',
            component: './systemUtil/printDesignItem',
          },

          {
            refresh: true,
            path: '/systemSetting/systemUtil/hiprint',
            name: 'hiprint',
            icon: 'smile',
            component: './systemUtil/hiprint',
          },
          {
            refresh: true,
            path: '/systemSetting/systemUtil/tableConfig',
            name: 'tableConfig',
            icon: 'smile',
            component: './systemUtil/tableConfig',
            hideInMenu: true,
          },
        ],
      },
      // {
      //   path: '/systemSetting/basicData',
      //   name: 'basicData',
      //   icon: 'RadarChart',
      //   access: 'normalRouteFilter',
      //   routes: [
      //     {
      //       path: '/systemSetting/basicData/warehouse',
      //       name: 'warehouse',
      //       icon: 'smile',
      //       refresh: true,
      //       component: './baseData/warehouse',
      //     },
      //     {
      //       path: '/systemSetting/basicData/plant',
      //       name: 'plant',
      //       icon: 'smile',
      //       refresh: true,
      //       component: './baseData/plant',
      //     },
      //     {
      //       path: '/systemSetting/basicData/supplier',
      //       name: 'supplier',
      //       icon: 'smile',
      //       refresh: true,
      //       component: './baseData/supplier',
      //     },
      //     {
      //       path: '/systemSetting/basicData/customer',
      //       name: 'customer',
      //       icon: 'smile',
      //       refresh: true,
      //       component: './baseData/customer',
      //     },
      //     {
      //       path: '/systemSetting/basicData/process',
      //       name: 'process',
      //       icon: 'smile',
      //       refresh: true,
      //       component: './baseData/process',
      //     },
      //     {
      //       path: '/systemSetting/basicData/bopTotal',
      //       name: 'bopTotal',
      //       icon: 'smile',
      //       refresh: true,
      //       component: './baseData/bopTotal',
      //     },
      //     {
      //       path: '/systemSetting/basicData/bopInfo',
      //       name: 'bopInfo',
      //       icon: 'smile',
      //       refresh: true,
      //       component: './baseData/bopInfo',
      //       hideInMenu: true,
      //     },
      //     // {
      //     //   path: '/basicData/serialNumber',
      //     //   name: 'serialNumber',
      //     //   icon: 'smile',
      //     //   component: './baseData/serialNumber',
      //     // },
      //     // {
      //     //   path: '/basicData/serialNumberItem',
      //     //   name: 'serialNumberItem',
      //     //   icon: 'smile',
      //     //   hideInMenu: true,
      //     //   component: './baseData/serialNumberItem',
      //     // },
      //   ],
      // },
    ],
  },
  {
    name: 'account',
    icon: 'user',
    path: '/account',
    access: 'normalRouteFilter',
    routes: [
      {
        path: '/account',
        redirect: '/account/center',
      },

      {
        access: 'normalRouteFilter',
        name: 'center',
        icon: 'smile',
        path: '/account/center',
        component: './account/center',
      },
      {
        access: 'normalRouteFilter',
        name: 'settings',
        icon: 'smile',
        path: '/account/settings',
        component: './account/settings',
      },
      {
        name: 'chatOnline',
        icon: 'smile',
        path: '/account/chat',
        component: './account/chat',
        hideInMenu: true,
      },
    ],
  },
  // //order
  // {
  //   path: '/order',
  //   name: 'order',
  //   icon: 'smile',
  //   access: 'normalRouteFilter',
  //   routes: [
  //     // {
  //     //   path: '/order/orderInfo',
  //     //   name: 'orderinfo',
  //     //   icon: 'smile',
  //     //   component: './order/orderInfo',
  //     // },
  //     {
  //       path: '/order/axisinfo',
  //       name: 'axisinfo',
  //       icon: 'smile',
  //       component: './order/axisinfo',
  //     },
  //   ],
  // },

  {
    path: '/',
    redirect: '/board/projectboard',
    hideInMenu: true,
  },
  {
    component: './404',
  },
];
